package t327.mapper;

import t327.pojo.Client;
import t327.pojo.OrderForm;
import t327.pojo.QuotationList;
import t327.pojo.views.OrderColorSizeClientView;
import t327.pojo.views.OrderListView;

import java.util.List;

public interface OrderFormMapper {
    List<OrderForm> queryAll();
    //增加订单录入
    int addOrder(OrderForm orderForm);
    //查询订单列表

    List<OrderListView> orderList();
    //订单客户名称查询
    List <Client> getClientId();
    //根据订单客户名称查询联系人电话
    List<Client> getClientName(String clientName);
    //
    List<Client> getClientIdList(Long clientId);

    //渲染主页订单
    List<OrderColorSizeClientView> renderHomeOrder();
    //订单列表条件查询
    //    List<OrderListView>
    //更改订单列表已审核
    int UodateOrder(Long orderId);

    List<OrderColorSizeClientView> renderHomeOrderNumberQuery(String quotation);
    //订单列表条件查询
    List<OrderListView>ConditionQuery (OrderListView orderListView);
    //更改已审核按钮
    List<OrderForm> ListButton(Long orderId);
    //点击款号显示订单金额
    List<QuotationList> getQuotationList(String  styleNumber);
}
